package com.amigo.online.common.param.result;

import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Digits;
import javax.validation.constraints.Min;
import java.io.Serializable;

public class VideoWhoSawMeInfo implements Serializable{

	/**
	 * 	"谁看过我" 视频
	 */
	private static final long serialVersionUID = -7570845766598880749L;
	
	@Min(0)
	@Digits(integer=10,fraction=0)
	private Long userId;	//"谁看了我"的用户id
	private Long videoId;
	private String nickname;
	@Min(0)
	private String sex;
	private String avatar;
	//用户头像
	private String userAvatar;
	//生日
	private String birthday;
	
	@Length(min = 1, max = 250)
	private String video;	//视频地址
	private Long createdTime;	//"谁看过我"时间
	private Double distance = -1D;
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getAvatar() {
		return avatar;
	}
	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}
	public String getVideo() {
		return video;
	}
	public void setVideo(String video) {
		this.video = video;
	}
	public Long getCreatedTime() {
		return createdTime;
	}
	public void setCreatedTime(Long createdTime) {
		this.createdTime = createdTime;
	}
	public Double getDistance() {
		return distance;
	}
	public void setDistance(Double distance) {
		this.distance = distance;
	}
	public Long getVideoId() {
		return videoId;
	}
	public void setVideoId(Long videoId) {
		this.videoId = videoId;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getUserAvatar() {
		return userAvatar;
	}
	public void setUserAvatar(String userAvatar) {
		this.userAvatar = userAvatar;
	}
	public String getBirthday() {
		return birthday;
	}
	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
	
	
}
